package com.example.demo.repository;

import com.example.demo.dataobject.HealthInfo;
import org.springframework.data.jpa.repository.JpaRepository;

public interface HealthInfoRepository extends JpaRepository<HealthInfo,Integer> {
//    HealthInfo findByTelephone(String telephone);
    HealthInfo findByUserId(Integer userId);
}
